package cn.Mapper;

import cn.entity.Comment;
import cn.entity.Order;
import cn.entity.OrderItem;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper {
    //添加评论
    public int AddCommentBy(Comment comment);
    //根据订单ID查询商品Pid
    public List<OrderItem> FindPidByOid(Integer oid);
}
